package cn.wzy.mapper;

import cn.wzy.domain.Tenant;
import cn.wzy.query.TenantQuery;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.Page;
import feign.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author wzy
 * @since 2023-02-24
 */
public interface TenantMapper extends BaseMapper<Tenant> {

    List<Tenant> lodePage(Page<Tenant> page, TenantQuery query);

    void insertMeal(@Param("tenantId") Long tenantId,@Param("mealId") Long mealId);
}
